We generally use ->next directly.
child = children->data;
show_window_recurse (child, hide_window);
- children = g_slist_next (children);
+ children = children->next;
}
}
while (list1 && list2 && (list1->data == list2->data))
{
tmp = (GdkWindow *)list1->data;
- list1 = g_list_next (list1);
- list2 = g_list_next (list2);
+ list1 = list1->next;
+ list2 = list2->next;
}
g_list_free (path1);
g_list_free (path2);
while (list)
{
win = (GdkWindow *)list->data;
- list = g_list_next (list);
+ list = list->next;
if (list)
next = (GdkWindow *)list->data;
else
GdkWindowImplWin32 *child_impl = GDK_WINDOW_IMPL_WIN32 (GDK_WINDOW (child)->impl);
child_impl->transient_owner = NULL;
- tmp = g_slist_next (tmp);
+ tmp = tmp->next;
}
g_slist_free (window_impl->transient_children);
window_impl->transient_children = NULL;
small_diff = diff;
}
- pixbufs = g_list_next (pixbufs);
+ pixbufs = pixbufs->next;
}
/* Create the icons */